package com.xtpt.disaster.mapper;

import com.xtpt.disaster.bean.NodeInfo;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface NodeInfoMapper {

    int deleteByPrimaryKey(Long nodeId);

    int insert(NodeInfo record);

    int insertSelective(NodeInfo record);

    NodeInfo selectByPrimaryKey(Long nodeId);

    int updateByPrimaryKeySelective(NodeInfo record);

    int updateByPrimaryKey(NodeInfo record);

    List<NodeInfo> selectByIp(String ip);

    List<NodeInfo> selectAll();

    int deleteBatch(long[] nodeIdList);
}
